#ifndef         _VRCELL_
#define         _VRCELL_

typedef struct vrCell_type
{
	int	index;
	vec2f_type	p;
	int n;
	vrLine_type	vl[100];

}vrCell_type;



	// VrCell.cpp
void vrCell_line( pt2dA_type *apt, int i0,vrCell_type *vc );

void vrCell_order( vrCell_type *vc );

int vrCell_filter( vrCell_type *vc );

static int	vrCell_filter_1( vrCell_type *vc, int i0 );

pt2dA_type* vrCell_to_apt( vrCell_type *vc );

void vrCell_write( vrCell_type *vc, char *file  );

void vrCell_create( pt2dA_type *apt, int i0, vrCell_type *vc );


#endif 